Uploading Extensions

To upload an extension:

Note: This procedure assumes that you have the .zip file for your extension available for upload.

    Procedure
  1. In Control Plane, click Data Planes from the left navigation.
  2. On the Data Plane card, click Go to Data Plane.
  3. Click the provisioned Flogo capability.
  4. Navigate to the Available Custom Extensions section.
  5. Click the button.

    The Upload an Extension dialog opens.

    Note: If you are deploying an app, which uses a missing extension, you can install it using the Upload Extension option on the App Build and Deploy page. Ensure that the extension version on Control Plane matches the version on the App Build and Deploy page.
  6. Click the browse to upload link and navigate to your extension .zip file. Alternatively, drag the .zip file from your local machine to the area defined by a dotted line in the Upload an Extension dialog.
  7. Click Upload selected File.
    Note: Ensure that the go.mod file is present in the uploaded zip file or else it generates an error.
    Result You can view your extension on the Available Custom Extension page.
    Note: Extensions are at org level by default.

    The following details are displayed:

    • Name: name of the extension
    • Uploaded by: name of the extension contributor
    • Version: version of the extension
    • Note: You can upload the same extension with multiple versions. If the same extension is uploaded, then the version is overridden.
    • Type: type of extension

    Go Mod Compatibility

    For custom extensions to run on TIBCO Control Plane, extension must be go mod compatible to generate app binary and run successfully.

    Before you beginMake sure you meet the following pre-requisites:

    You must have Visual Studio Code installed. For more information, see TIBCO Flogo® Extension for Visual Studio Code - Developer Preview.

      Procedure
    1. Add the unzipped version of your extensions file to go/src.
    2. Navigate to go/src/{extension} and open Visual Studio Code.
    3. Run the below commands on the terminal:
      1. go mod init {ref}
        exa. go mod init github.com/TIBCOSoftware/tci-flogo/samples/extensions/AWSSQS/activity/sqssendmessage
      2. go mod tidy
    ResultAfter the commands are executed successfully, go.mod and go.sum files are generated.

    Custom Extensions Usage

    You can use Activity extensions (for example Concat Activity) when creating a flow or editing an existing flow.

    You can use function extensions (for example, jwt ) inside the mapper when mapping elements.

    You can use a trigger extension in the Create a Flow dialog. If you select the trigger, it creates the flow with your trigger.